<html>
<head><meta charset="utf-8"><title>Can you set the default target for just non-test builds? · general · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/index.html">general</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Can.20you.20set.20the.20default.20target.20for.20just.20non-test.20builds.3F.html">Can you set the default target for just non-test builds?</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="228511027"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Can%20you%20set%20the%20default%20target%20for%20just%20non-test%20builds%3F/near/228511027" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lokathor <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Can.20you.20set.20the.20default.20target.20for.20just.20non-test.20builds.3F.html#228511027">(Mar 03 2021 at 00:11)</a>:</h4>
<p>Using <code>.cargo/config.toml</code> it's possible to set the default target using the <code>[build] target = "foo"</code> thing, but is it possible to set the target for <em>just</em> non-test builds?</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>